class MembersController < ApplicationController

	def new
		render "new"
	end
	def create_member
		member = Member.new
		member.member_name = params[:memberName]
		member.age = params[:age] 
		member.company_name = params[:companyName] 
		member.professional_background = params[:professionalBackground] 
		member.tel_phone = params[:telPhone] 
		member.industry = params[:industry] 
		member.area = params[:area] 
		member.honor = params[:honor] 
		member.post = params[:post] 
		member.hobby = params[:hobby] 
		member.created_at = Time.now
		member.updated_at = Time.now
		member.publish_status = 1
		member.save
		render "success"
	end
end
